/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */   

package ua.yandex.skipass;

/**
 *
 * @author vlad
 */
public class Tourniquet {
    public Tourniquet() {
    }
    
    public boolean readCard(Skipass pass) {
        pass.useCard();
        return pass.validate() && !pass.isBlocked();
    }
}
